{{- define "rank" -}}

<div class="ranklist">
  {{ range where .Site.RegularPages "Section" "news" }}
    <div class="rank">
      <a href="">{{.Title}}</a>
      <a>{{.Title}}</a>
    </div>
    {{ end }}
</div>

{{- end -}}